<template>
  <div>
    <el-dialog :title="showTitle" :visible="showDialog" @close="close">
      <el-form label-width="100px">
        <el-form-item label="部门名称">
          <el-input placeholder="请输入" />
        </el-form-item>
        <el-form-item label="部门编码">
          <el-input placeholder="请输入" />
        </el-form-item>
        <el-form-item label="部门负责人">
          <el-input placeholder="请输入" />
        </el-form-item>
        <el-form-item label="部门介绍">
          <el-input placeholder="请输入" />
        </el-form-item>
      </el-form>
      <div style="display: flex;justify-content: center;">
        <el-button type="primary">确定</el-button>
        <el-button>取消</el-button>
      </div>
    </el-dialog>
  </div>
</template>

<script>
export default {
  name: 'AddDept',
  props: {
    showDialog: {
      type: Boolean,
      default: false
    }
  }
}
</script>

<style>

</style>
